Fixed error
authorKalita Alexey <kalita.alexey@outlook.com>
Wed, 25 Jan 2017 06:52:59 +0000 (09:52 +0300)
committerKalita Alexey <kalita.alexey@outlook.com>
Wed, 25 Jan 2017 06:52:59 +0000 (09:52 +0300)
src/doc/manifest.md

index b6bbb328e7e2c7665cee4099582394850fd7ca4f..0b3eff6fa84ca78fd3eac1ba302ddcd6d0569497 100644 (file)
@@ -459,10 +459,13 @@ You can run individual executable examples with the command `cargo run --example
 
 Specify `crate-type` to make an example be compiled as a library:
 ```toml
-[[example.foo]]
+[[example]]
+name = "foo"
 crate-type = ["staticlib"]
 ```
 
+You can build individual library examples with the command `cargo build --example <example-name>`.
+
 # Tests
 
 When you run `cargo test`, Cargo will: